/*
 * @Author: liao.mingjin@byd.com
 * @Date: 2022-11-18 20:52:42
 * @LastEditors: liao.mingjin@byd.com
 * @LastEditTime: 2022-11-18 22:29:16
 * @FilePath: /project/gitee.com/project_-ccplus/ringbuffer_shm/common.h
 * @Description: 
 * 
 * Copyright (c) 2022 by cal.liao/BYD, All Rights Reserved. 
 */

// //ringbuff struct 
// typedef struct ring_buffer_root
// {
//     void (*pInitRingbufferRoot)(struct ring_buffer_root* rb_root);
//     int (*pCreateRingbufferRoot)(struct ring_buffer_root* rb_root);
//     int (*pGetShmRingbufferRoot)(struct ring_buffer_root* rb_root);
//     void* (*pGetShmAddressRingbufferRoot)(struct ring_buffer_root* rb_root);
//     int  (*pDeleteRingbufferRoot)(struct ring_buffer_root* rb_root);

//     int nSize;
//     int nShmid;
// }ring_buffer_root;

// //ringbuff's data 
// typedef struct ring_buffer_data
// {
//     void (*pInitRingbufferData)(struct ring_buffer_data* rb_data);
//     int (*pCreateRingbufferData)(struct ring_buffer_data* rb_data);
//     int (*pGetShmRingbufferData)(struct ring_buffer_data* rb_data);
//     void* (*pGetShmAddressRingbufferData)(struct ring_buffer_data* rb_data);
//     int (*pDeleteRingbufferData)(struct ring_buffer_data* rb_data);
//     int nSize;
//     int nShmid;
// }ring_buffer_data;
